Q3Mesh_GetOrientable
You can use theQ3Mesh_GetOrientable
function to determine whether the faces of a mesh can be consistently oriented.
TQ3Status Q3Mesh_GetOrientable ( TQ3GeometryObject mesh, TQ3Boolean *orientable);
mesh
- A mesh.
orientable
- On exit, a Boolean value that indicates whether the faces of the specified mesh can be consistently oriented.
DESCRIPTION
TheQ3Mesh_GetOrientable
function returns, in theorientable
parameter, the valuekQ3True
if the faces of the mesh specified by themesh
parameter can be consistently oriented;Q3Mesh_GetOrientable
returnskQ3False
otherwise. For example, the faces of a tessellated Möbius strip or a Klein bottle cannot be consistently oriented.SPECIAL CONSIDERATIONS
TheQ3Mesh_GetOrientable
function might not accurately report the orientation state of a mesh if called while mesh updating is delayed (that is, after a call toQ3Mesh_DelayUpdates
but before the matching call toQ3Mesh_ResumeUpdates
).